package edu.kjxy.demo0315;

public class demo06 {

	public static void main(String[] args) {
		//打印空格
		for(int i = 0; i < 26; i++) {
			for(int j = 0; j < 26 - i; j++) {
				System.out.print(" ");
			}
			char ch = 'A';
			for(int j = 0; j < 2 * i - 1; j++) {
				System.out.print(ch);
				if(j < i - 1)
					ch++;
				else
					ch--;
			}
			System.out.println();
		}
	}
}
